using System;
using System.ComponentModel;
using Csla;
using lite;
using Csla.Validation;
using Csla.Data;
using System.Data.SqlClient;
using OpenExpressApp.ORM;
namespace ZX.EHR.Library
{
	[Serializable]
	[Table(Name = "salSalaryItem")]
	[ZX.DBModule.Table("salSalaryItem","ID")]
    public class salSalaryItem : ZX.DBModule.BaseEntity
	{
        public salSalaryItem()
		{

		}


		private System.String _ItemName;
		[Column]
		public System.String ItemName
		{
 			get { return _ItemName; }
			set { _ItemName = value; }
		}

		private System.String _DataSource;
		[Column]
		public System.String DataSource
		{
 			get { return _DataSource; }
			set { _DataSource = value; }
		}

		private System.String _Flag;
		[Column]
		public System.String Flag
		{
 			get { return _Flag; }
			set { _Flag = value; }
		}

		private System.String _FieldType;
		[Column]
		public System.String FieldType
		{
 			get { return _FieldType; }
			set { _FieldType = value; }
		}

		private System.DateTime _AddTime;
		[Column]
		public System.DateTime AddTime
		{
 			get { return _AddTime; }
			set { _AddTime = value; }
		}

		private System.String _ItemNotes;
		[Column]
		public System.String ItemNotes
		{
 			get { return _ItemNotes; }
			set { _ItemNotes = value; }
		}

        private System.String _Formula;
        [Column]
        public System.String Formula
        {
            get { return _Formula; }
            set { _Formula = value; }
        }

		private System.Guid _ID;
		[Column]
		public System.Guid ID
		{
 			get { return _ID; }
			set { _ID = value; }
		}

        private System.Guid _SalarySolutionID;
		[Column]
        public System.Guid SalarySolutionID
		{
            get { return _SalarySolutionID; }
            set { _SalarySolutionID = value; }
		}

		private System.Guid _AddUser;
		[Column]
		public System.Guid AddUser
		{
 			get { return _AddUser; }
			set { _AddUser = value; }
		}

		private System.String _CharValue;
		[Column]
		public System.String CharValue
		{
 			get { return _CharValue; }
			set { _CharValue = value; }
		}

		private System.Decimal _NumValue;
		[Column]
		public System.Decimal NumValue
		{
 			get { return _NumValue; }
			set { _NumValue = value; }
		}

        private System.Int32 _DataLength;
		[Column]
        public System.Int32 DataLength
		{
            get { return _DataLength; }
            set { _DataLength = value; }
		}

        private System.Int32 _DotLength;
        [Column]
        public System.Int32 DotLength
        {
            get { return _DotLength; }
            set { _DotLength = value; }
        }

        private System.Int32 _Sort;
        [Column]
        public System.Int32 Sort
        {
            get { return _Sort; }
            set { _Sort = value; }
        }

        private System.DateTime _ValidDate;
        [Column]
        public System.DateTime ValidDate
        {
            get { return _ValidDate; }
            set { _ValidDate = value; }
        }

        private System.DateTime _ExpireDate;
        [Column]
        public System.DateTime ExpireDate
        {
            get { return _ExpireDate; }
            set { _ExpireDate = value; }
        }
	}
}
